package com.cs.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("order_vo")
public class OrderVo {


    @TableId(value="order_id",type= IdType.AUTO)
    public Long orderId;

    @TableField("order_num")
    public String orderNum;

    @TableField("user_username")
    public String userName;

    @TableField("store_id")
    public String storeId;
    @TableField("store_name")
    public String storeName;

    @TableField("goods_name")
    public String goodsName;


    @TableField("goods_price")
    public Double goodsPrice;


    @TableField("order_goods_num")
    public String goodsNum;


    @TableField("order_original_price")
    public Double  orderPrice;


    @TableField("order_paid_price")
    public Double payPrice;

    @TableField("order_pay_type")
    public String payType;

    @TableField("order_pay_state")
    public String orderState;
}
